package com.stu.chart.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @author dsj
 * @TableName publich_evaluate
 */
@TableName(value ="publich_evaluate")
@Data
public class PublichEvaluate implements Serializable {
    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 发布内容ID
     */
    @TableField(value = "publish_id")
    private Integer publishId;

    /**
     * 评价人
     */
    @TableField(value = "evaluate_user_id")
    private Integer evaluateUserId;

    /**
     * 评价分数
     */
    @TableField(value = "evaluate_num")
    private Integer evaluateNum;

    /**
     * 评价时间
     */
    @TableField(value = "evaluate_time")
    private Date evaluateTime;

    @TableField(exist = false)
    private String username;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}